Display Method and Apparatus, and Terminal

ABSTRACT

This application provides a display method and apparatus, and a terminal, and relates to the field of image processing technologies, to resolve a problem that a peeping behavior of a peeper cannot be proved. The method is applied to a terminal having a front-facing camera and a display screen, where the front-facing camera and the display screen are on a same side of the terminal. The method includes: presenting a running interface of an application by using the display screen; collecting an image by using the front-facing camera; and when the image collected by the current camera meets a preset condition, presenting at least two display windows on the display screen. A first display window displays the running interface of the application, and a second display window displays the image collected by using the front-facing camera. This application is applicable to the terminal.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a National Stage of International Application No.PCT/CN2017/111437, filed on Nov. 16, 2017, which is hereby incorporatedby reference in its entirety.

TECHNICAL FIELD

This application relates to the field of image processing technologies,and in particular, to a display method and apparatus, and a terminal.

BACKGROUND

With development of communications technologies, especiallypopularization of terminals such as smartphones, functions of theterminals are also increasing. For example, a user may implementfunctions such as data exchange, transfer, and electronic payment withanother user by using a terminal. In a process in which the useractually uses the terminal, it is difficult to ensure that the user isin a comparatively covert state, regardless of whether the user iswatching private information or a confidential document, or isperforming an operation that requires comparatively high security, suchas financial or account management. In other words, an operationcurrently implemented by the user on the terminal is likely to be peepedat by another user.

Currently, in a terminal production process, an optical reconstructiontechnology such as polarization and refraction may be used to process ascreen, so that a user can clearly watch, only within a particular anglerange in front of the screen, content displayed on the screen. Whenanother user watches the screen from a position that is at an anglederiving from the front of the screen and that is beyond the particularangle range, the another user cannot clearly watch the content displayedon the screen. This protects user privacy. However, improvement on thescreen increases costs in the terminal production process, and the useof the foregoing optical reconstruction technology causes a part ofperspective light of the screen to be blocked to some extent.Consequently, a watching effect for the user is affected. In addition,for another user behind the user, the another user may still peep at thecontent currently displayed on the screen. To resolve the foregoingproblem, a front-facing camera of the terminal may be further used tocapture an image, and identify the captured image. Once the terminaldetects that a peeper appears in a field of view of the front-facingcamera, an interface currently displayed on the screen is switched toanother interface, thereby protecting user privacy.

It can be learned that, the foregoing two implementation solutions canprotect user privacy to some extent, but even if the user discovers thepeeper and ensures security of partial privacy, the user cannoteffectively prove a peeping behavior of the peeper by using theforegoing implementations.

SUMMARY

This application provides a display method and apparatus, and aterminal, to resolve a problem that a peeping behavior of a peepercannot be proved.

According to a first aspect, an embodiment of the present inventionprovides a display method. The method is applied to a terminal having afront-facing camera and a display screen. The front-facing camera andthe display screen are on a same side of the terminal. The methodincludes: presenting a running interface of an application by using thedisplay screen; collecting an image by using the front-facing camera;and when the image collected by using the front-facing camera meets apreset condition, presenting at least two display windows on the displayscreen, where a first display window displays the running interface ofthe application, and a second display window displays the imagecollected by using the front-facing camera. Compared with a prior-artsolution having a problem that a user cannot produce valid evidenceagainst another user, this can simultaneously present a peeping behaviorof the another user and content peeped at by the another user, therebyresolving a problem that the peeping behavior of the another user cannotbe proved.

In a possible design, when the application matches a preset application,the front-facing camera is automatically turned on. Considering thatwhen an image of a user other than a preset user is collected by thefront-facing camera, if content currently watched by the preset userdoes not require high security, it may also be considered that abehavior of the another user is not substantial peeping. Therefore,subsequent split-screen displaying is triggered only after it is ensuredthat an application interface currently watched by the preset user is aninterface of the preset application.

In a possible design, the preset condition includes the following: Theimage collected by using the front-facing camera includes an image of auser other than the preset user, and a distance between the another userand the preset user is less than a specified value. It should be notedthat another user comparatively close to the preset user may beconsidered as basically the same as the preset user in terms of anangle, a distance, and the like of watching the display screen of theterminal. This means that a difference between definition of contentpresented on the display screen watched by the another user anddefinition of that watched by the preset user is comparatively small. Inthis case, it may be considered that the another user is very likely toclearly watch a running interface of an application currently watched bythe preset user. Therefore, in this embodiment of the present invention,it is considered that the another user comparatively close to the presetuser has a possibility of peeping.

In a possible design, the preset condition includes the following: Theimage collected by using the front-facing camera includes an image of auser other than the preset user, and a distance between the another userand the terminal is less than a specified value. It should be noted thatanother user comparatively close to the terminal may be considered asanother user whose angle, distance, or the like of watching the displayscreen of the terminal can ensure that the another user can clearlywatch a running interface of an application currently watched by thepreset user. Therefore, in this embodiment of the present invention, itis considered that the another user comparatively close to the terminalhas a possibility of peeping.

In a possible design, the preset condition includes the following: Theimage collected by using the front-facing camera includes two eyes ofthe preset user, and further includes at least a third eye. By default,when the preset user watches the display screen of the terminal, theimage collected by using the front-facing camera of the terminalincludes an area in which two eyeballs of the preset user are located.When an area in which a third eyeball is located appears in thecollected image, it is considered that there is another user.

In a possible design, the preset condition includes the following: Theimage includes a face image other than a preset image. An image of thepreset user, namely, the preset image, may be prestored in the terminal.A face image, other than the preset image, collected by using thefront-facing camera may be considered as a face image of a user otherthan the preset user.

In a possible design, at least a partial area of the image collected byusing the front-facing camera is enlarged. In this case, an enlargedimage is displayed on the second display window. Split-screen displayingactually means that content not displayed at a same moment and contentcurrently presented on the display screen are simultaneously displayedon the display screen. This means that such a display mode inevitablyaffects a display proportion of an original image and an interface.Therefore, when the image collected by using the front-facing camera andthe application interface are simultaneously displayed, a display sizeand/or a display proportion of the image and the application interfaceneed/needs to be adjusted. In addition, to more clearly present apeeping behavior of the another user to the preset user, the at least apartial area of the image collected by using the front-facing camera maybe enlarged, and then only an enlarged partial area and the content inthe application interface are presented to the user.

In a possible design, a focus window of the front-facing camera islocated in an area in which the user other than the preset user islocated. An adjusted focus window at least partially overlaps the areain which the another user is located. This means that the adjusted focuswindow may be completely located in the area in which the another useris located, or cover a part of the area in which the another user islocated, or cover the entire area in which the another user is located.This is not limited herein. In this embodiment of the present invention,it suffices to ensure that after the focus window is adjusted, focus onthe area in which the another user is located can be better implemented.

In a possible design, exposure weights of different areas in the imageare adjusted based on a current position of the focus window. In thisway, a weight of the area, at an edge, in which the another user islocated is increased, to dynamically adjust exposure time and a gain,thereby ensuring that brightness of the area in which the another useris located is proper. This can avoid a problem caused by overexposure orunderexposure of the area in which the another user is located in theimage collected by using the front-facing camera. Overexposure causesexcessively high brightness of the image, and underexposure causesexcessively low brightness of the image.

In a possible design, the terminal may further automatically storecontent presented in at least two display windows. There may be aplurality of manners of obtaining the content presented in the at leasttwo display windows, for example, operations such as screen capturingand screen recording. For example, a shortcut key similar to a floatingwindow is set on the display screen, and the user may tap the shortcutkey to trigger the operations such as screen capturing and screenrecording. After successfully obtaining the content presented in the atleast two display windows, the terminal may automatically store theobtained content in a preset local storage area for subsequent invoking,watching, or the like by the user.

In a possible design, the terminal may further send, to a target device,the content presented in at least two display windows, to implement anevidence producing function or a storage function. For example, thetarget device may be a device other than the terminal, or may be athird-party device such as a server configured to implement data storageon a network side. It can be learned that, in the foregoingimplementation, the content obtained through evidence collection may bestored in the target device for subsequent evidence producing, or therelated content may be directly submitted to a law enforcementdepartment.

In a possible design, the terminal may automatically send, to the targetdevice, the content presented in at least two display windows.

In a possible design, the terminal may further send prompt information,where the prompt information is used to prompt to pay attention toprotecting personal information.

In a possible design, the terminal may further present a presetinterface on the display screen. For security, after determining thatthere is a security risk for the user, the terminal may further presentthe preset interface on the display screen. The preset interface is adisplay interface that is set by the user or a display interface that ispreset in the terminal, and includes but is not limited to a displayinterface or an operation interface that requires comparatively lowsecurity, such as a picture or a home screen of the terminal. Certainly,the preset interface may alternatively be an interface accessed by theuser before the user accesses the current application interface, aninterface that is currently running on the background and whose time forswitching, by the user, an application corresponding to the interface tothe background is comparatively short, or the like. A picture or ananimation may also be superimposed on the application interface, wherethe picture or the animation may be moved, or may be deleted. This isnot limited herein.

According to a second aspect, an embodiment of the present inventionprovides a display method. The method is applied to a terminal having afront-facing camera and a display screen. The front-facing camera andthe display screen are on a same side of the terminal. The methodincludes: receiving a first operation that is input by a user; inresponse to the first operation, presenting a running interface of anapplication by using the display screen; when the application matches apreset application, automatically turning on the front-facing camera,and collecting an image by using the front-facing camera; when the imagecollected by using the front-facing camera meets a preset condition,presenting at least two display windows on the display screen, where afirst display window displays the running interface of the application,and a second display window displays the image collected by using thefront-facing camera; automatically storing content presented in the atleast two display windows; sending, to a target device, the contentpresented in the at least two display windows; and sending promptinformation, and/or presenting a preset interface on the display screen,where the prompt information is used to prompt to pay attention toprotecting personal information. The sending, to a target device, thecontent presented in the at least two display windows includes:receiving a second operation that is input by the user; and in responseto the second operation, sending, to the target device, the contentpresented in the at least two display windows; or automatically sending,to the target device, the content presented in the at least two displaywindows. Compared with a prior-art solution having a problem that a usercannot produce valid evidence against another user, this cansimultaneously present a peeping behavior of the another user andcontent peeped at by the another user, thereby resolving a problem thatthe peeping behavior of the another user cannot be proved. In addition,in this embodiment of the present invention, the front-facing camera maybe automatically turned on in a specific scenario; after the at leasttwo display windows are presented, the content presented in the at leasttwo display windows may be further automatically stored, and optionally,the content presented in the at least two display windows is actively orpassively sent to the target device.

In a possible design, the preset condition includes at least thefollowing: The image collected by using the front-facing camera includesan image of a user other than a preset user, and a distance between theanother user and the preset user is less than a specified value; and/orthe image collected by using the front-facing camera includes an imageof a user other than a preset user, and a distance between the anotheruser and the terminal is less than a specified value; and/or the imagecollected by using the front-facing camera includes two eyes of a presetuser, and further includes at least a third eye; and/or a result offacial recognition performed on the image collected by using thefront-facing camera indicates that the image includes a face image otherthan a preset image.

In a possible design, the method further includes: enlarging at least apartial area of the image collected by using the front-facing camera,where a focus window of the front-facing camera is located in an area inwhich the user other than the preset user is located; and displaying anenlarged image on the second display window.

In a possible design, the running interface includes a password inputinterface. It should be noted that the running interface of theapplication includes but is not limited to the password input interface,and may alternatively be another interface related to preset personalinformation of the user, and certainly may alternatively be an interfacethat requires comparatively high security. This is not limited herein.

According to a third aspect, an embodiment of the present inventionprovides a display apparatus. The apparatus is applied to a terminalhaving a front-facing camera and a display screen. The front-facingcamera and the display screen are on a same side of the terminal. Theapparatus can implement a function implemented in the foregoing methodembodiment. The function may be implemented by hardware, or may beimplemented by hardware by executing corresponding software. Thehardware or software includes one or more modules corresponding tofunctions shown in the first aspect and the possible designs of thefirst aspect.

According to a fourth aspect, an embodiment of the present inventionprovides a display apparatus. The apparatus is applied to a terminalhaving a front-facing camera and a display screen. The front-facingcamera and the display screen are on a same side of the terminal. Theapparatus can implement a function implemented in the foregoing methodembodiment. The function may be implemented by hardware, or may beimplemented by hardware by executing corresponding software. Thehardware or software includes one or more modules corresponding tofunctions shown in the second aspect and the possible designs of thesecond aspect.

According to a fifth aspect, an embodiment of the present inventionprovides a terminal. A structure of the terminal includes a displayscreen, a memory, one or more processors, a plurality of applicationprograms, and one or more programs. The one or more programs are storedin the memory. When the one or more programs are executed by the one ormore processors, the terminal is enabled to implement the methodaccording to any one of the first aspect or the possible designs of thefirst aspect.

According to a sixth aspect, an embodiment of the present inventionprovides a terminal. A structure of the terminal includes a displayscreen, a memory, one or more processors, a plurality of applicationprograms, and one or more programs. The one or more programs are storedin the memory. When the one or more programs are executed by the one ormore processors, the terminal is enabled to implement the methodaccording to any one of the first aspect or the possible designs of thefirst aspect.

According to a seventh aspect, an embodiment of the present inventionprovides a readable storage medium, including an instruction. When theinstruction is run on a terminal, the terminal is enabled to perform themethod according to any one of the first aspect or the possible designsof the first aspect.

According to an eighth aspect, an embodiment of the present inventionprovides a readable storage medium, including an instruction. When theinstruction is run on a terminal, the terminal is enabled to perform themethod according to any one of the second aspect or the possible designsof the second aspect.

According to a ninth aspect, an embodiment of the present inventionprovides a computer program product. The computer program productincludes software code, and the software code is used to perform themethod according to any one of the first aspect or the possible designsof the first aspect.

According to a tenth aspect, an embodiment of the present inventionprovides a computer program product. The computer program productincludes software code, and the software code is used to perform themethod according to any one of the first aspect or the possible designsof the first aspect.

According to an eleventh aspect, an embodiment of the present inventionprovides a graphical or user interface, configured to perform the methodaccording to any one of the first aspect or the possible designs of thefirst aspect.

According to a twelfth aspect, an embodiment of the present inventionprovides a graphical or user interface, configured to perform the methodaccording to any one of the second aspect or the possible designs of thesecond aspect.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a first type of schematic structural diagram of a terminalaccording to an embodiment of the present invention;

FIG. 2 is a schematic diagram of a display screen of a terminalaccording to an embodiment of the present invention;

FIG. 3 is a first type of flowchart of a display method according to anembodiment of the present invention;

FIG. 4 is a schematic diagram of presenting an application interface byusing a display screen according to an embodiment of the presentinvention;

FIG. 5 shows an image collected by using a front-facing camera accordingto an embodiment of the present invention;

FIG. 6(a) and FIG. 6(b) are a first type of schematic diagrams ofsplit-screen displaying when a terminal is in portrait mode for watchingaccording to an embodiment of the present invention;

FIG. 7(a) and FIG. 7(b) are schematic diagrams of split-screendisplaying when a terminal is in landscape mode for watching accordingto an embodiment of the present invention;

FIG. 8 is a second type of schematic diagram of split-screen displayingwhen a terminal is in portrait mode for watching according to anembodiment of the present invention;

FIG. 9 a schematic diagram of a system structure inside a terminalaccording to an embodiment of the present invention;

FIG. 10 is a schematic diagram of monitoring by using a wide-anglecamera according to an embodiment of the present invention;

FIG. 11 is a schematic diagram of displaying an image collected by usinga front-facing camera shown in FIG. 10 on a display screen of a terminalaccording to an embodiment of the present invention;

FIG. 12 is another schematic diagram of split-screen displaying when aterminal is in portrait mode for watching according to an embodiment ofthe present invention;

FIG. 13 is a first type of schematic diagram of a display interfaceaccording to an embodiment of the present invention;

FIG. 14 is a second type of schematic diagram of a display interfaceaccording to an embodiment of the present invention;

FIG. 15 is a schematic diagram of marking, based on FIG. 5, an area inwhich another user is located according to an embodiment of the presentinvention;

FIG. 16(a), FIG. 16(b), FIG. 16(c), and FIG. 16(d) are a third type ofschematic diagrams of a display interface according to an embodiment ofthe present invention;

FIG. 17(a) and FIG. 17(b) are a fourth type of schematic diagrams of adisplay interface according to an embodiment of the present invention;

FIG. 18 is a fifth type of schematic diagram of a display interfaceaccording to an embodiment of the present invention;

FIG. 19 is a schematic diagram of positions of a focus window before andafter adjustment according to an embodiment of the present invention;

FIG. 20 is a schematic diagram of a focus window adjustment processaccording to an embodiment of the present invention;

FIG. 21 is a schematic diagram of an exposure weight before and afteradjustment according to an embodiment of the present invention;

FIG. 22 is a second type of flowchart of a display method according toan embodiment of the present invention;

FIG. 23 is a sixth type of schematic diagram of a display interfaceaccording to an embodiment of the present invention;

FIG. 24 is a flowchart of an evidence information obtaining methodaccording to an embodiment of the present invention;

FIG. 25 is another flowchart of an evidence information obtaining methodaccording to an embodiment of the present invention;

FIG. 26 is a schematic diagram of prompting to pay attention toprotecting personal information according to an embodiment of thepresent invention;

FIG. 27 is a schematic diagram of a home screen of a terminal accordingto an embodiment of the present invention;

FIG. 28 is a first type of schematic structural diagram of a displayapparatus according to an embodiment of the present invention;

FIG. 29 is a second type of schematic structural diagram of a terminalaccording to an embodiment of the present invention;

FIG. 30 is a second type of schematic structural diagram of a displayapparatus according to an embodiment of the present invention; and

FIG. 31 is a third type of schematic structural diagram of a terminalaccording to an embodiment of the present invention.

DESCRIPTION OF REFERENCE SIGNS

-   -   1: front-facing camera    -   2: display screen    -   3: function key    -   4: digital keyboard    -   5: payment dialog box    -   6: image collected by using a front-facing camera    -   7: area in which another user is located in an image collected        by using a front-facing camera    -   8: focus window    -   9: shortcut key.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

The following describes the technical solutions in the embodiments ofthe present invention with reference to the accompanying drawings in theembodiments of the present invention.

The embodiments of the present invention may be used for a terminal, andthe terminal may be a device such as a tablet computer or a smartphone.The terminal has at least a camera, a display screen, an input device,and a processor. A terminal 100 is used as an example. As shown in FIG.1, the terminal 100 includes components such as a processor 101, amemory 102, a camera 103, an RF circuit 104, an audio circuit 105, aloudspeaker 106, a microphone 107, an input device 108, another inputdevice 109, a display screen 110, a touch control panel 11, a displaypanel 112, an output device 113, and a power supply 114. The displayscreen 110 includes at least the touch control panel 111 serving as aninput device and the display panel 112 serving as an output device. Thecamera 103 may include a front-facing camera and a rear-facing camera.In the embodiments of the present invention, the camera 103 includes atleast the front-facing camera. It should be noted that a terminalstructure shown in FIG. 1 constitutes no limitation on the terminal, andthe terminal may include more or fewer components than those shown inthe figure, or combine some components, or split some components, orhave a different component arrangement. This is not limited herein.

The following describes each composition part of the terminal 100 indetail with reference to FIG. 1.

The radio frequency (Radio Frequency, RF) circuit 104 may be configuredto: send and/or receive information or receive and send a signal duringa call. For example, if the terminal 100 is a mobile phone, the terminal100 may send, by using the RF circuit 104 after receiving downlinkinformation sent by a base station, the downlink information to theprocessor 101 for processing, and send related uplink data to the basestation. The RF circuit usually includes but is not limited to anantenna, at least one amplifier, a transceiver, a coupler, a low noiseamplifier (Low Noise Amplifier, LNA), a duplexer, and the like. Inaddition, the RF circuit 104 may further communicate with a network andanother device through wireless communication. The wirelesscommunication may use any communications standard or protocol, includingbut not limited to the global system for mobile communications (GlobalSystem of Mobile communication, GSM), a general packet radio service(General Packet Radio Service, GPRS), code division multiple access(Code Division Multiple Access, CDMA), wideband code division multipleaccess (Wideband Code Division Multiple Access, WCDMA), long termevolution (Long Term Evolution, LTE), an email, a short messagingservice (Short Messaging Service, SMS), and the like.

The memory 102 may be configured to store a software program and amodule. The processor 101 runs the software program and the module thatare stored in the memory 101, to perform various functions andapplications of the terminal 100 and process data. The memory 101 maymainly include a program storage area and a data storage area. Theprogram storage area may store an operating system, an applicationprogram required by at least one function (such as a sound playingfunction or an image playing function), and the like. The data storagearea may store data (such as audio data or video data) created based onuse of the terminal 100, and the like. In addition, the memory 101 mayinclude a high-speed random access memory, and may further include anon-volatile memory, such as at least one magnetic disk storage device,a flash storage device, or another volatile solid-state storage device.

The another input device 109 may be configured to: receive input digitor character information, and generate key signal input related to usersetting and function control of the terminal 100. Specifically, theanother input device 109 may include but is not limited to one or moreof physical keyboards, a function key (such as a volume control key oran on/off key), a tracking ball, a mouse, a joystick, an optical mouse(the optical mouse is a touch-sensitive surface that does not displayvisual output, or an extension of a touch-sensitive surface formed by atouchscreen), or the like. The another input device 109 may furtherinclude a sensor built in the terminal 100, such as a gravity sensor oran acceleration sensor, and the terminal 100 may further use, as inputdata, a parameter detected by the sensor.

The display no may be configured to display information input by a useror information provided for the user, and various menus of the terminal100, and may further receive user input. In addition, the display panel112 may be configured in a form of a liquid crystal display (LiquidCrystal Display, LCD), an organic light-emitting diode (OrganicLight-Emitting Diode, OLED), or the like. The touch control panel 111,also referred to as a touchscreen, a touch-sensitive screen, or thelike, may collect a touch or non-touch operation (for example, anoperation performed by the user on the touch control panel 111 or nearthe touch control panel 111 by using any proper object or accessory,such as a finger or a stylus, or a motion sensing operation may beincluded, and the operation includes an operation type such as asingle-point control operation or a multipoint control operation)performed by the user on or near the touch control panel, and drive acorresponding connection apparatus based on a preset program. It shouldbe noted that the touch control panel 111 may further include two parts:a touch detection apparatus and a touch controller. The touch detectionapparatus detects a touch orientation and gesture of the user, detects asignal brought by a touch operation, and sends the signal to the touchcontroller. The touch controller receives touch information from thetouch detection apparatus, converts the touch information intoinformation that can be processed by the processor 101, and thentransmits the information to the processor 101. In addition, the touchcontroller can further receive and execute a command sent by theprocessor 101. In addition, the touch control panel 111 may beimplemented in a plurality of types, such as a resistive type, acapacitive type, an infrared ray, and a surface acoustic wave, or thetouch control panel 111 may be implemented by using any technologydeveloped in the future. Generally, the touch control panel 111 maycover the display panel 112. The user may perform, based on contentdisplayed on the display panel 112 (the displayed content includes butis not limited to a soft keyboard, a virtual mouse, a virtual key, anicon, and the like), an operation on or near the touch control panel 111that covers the display panel 112. After detecting the operation on ornear the touch control panel 111, the touch control panel in transmitsthe operation to the processor 101 to determine user input, and then theprocessor 101 provides corresponding visual output on the display panel112 based on the user input. In FIG. 1, the touch control panel 111 andthe display panel 112 serve as two independent components to implementinput and output functions of the terminal 100. However, in someembodiments, the touch control panel 111 and the display panel 112 maybe integrated to implement the input and output functions of theterminal 100.

The RF circuit 104, the loudspeaker 106, and the microphone 107 mayprovide an audio interface between the user and the terminal 100. Theaudio circuit 105 may convert received audio data into a signal, andtransmit the signal to the loudspeaker 106, and the loudspeaker 106converts the signal into a voice signal for output. In addition, themicrophone 107 may convert a collected voice signal into a signal, andthe audio circuit 105 receives the signal, converts the signal intoaudio data, and then outputs the audio data to the RF circuit 104, tosend the audio data to a device such as another terminal, or output theaudio data to the memory 102, so that the processor 101 performs furtherprocessing with reference to content stored in the memory 102. Inaddition, the camera 103 may collect an image frame in real time andsend the image frame to the processor 101 for processing, and store aprocessed result in the memory 102 and/or display a processed result tothe user by using the display panel 112.

The processor 101 is a control center of the terminal 100, is connectedto each part of the entire terminal 100 by using various interfaces andlines, and performs various functions of the terminal 100 and dataprocessing by running or executing the software program and/or themodule that are/is stored in the memory 102 and invoking data stored inthe memory 102, to perform overall monitoring on the terminal 100. Itshould be noted that the processor 101 may include one or moreprocessing units. An application processor and a modem processor may beintegrated into the processor 101. The application processor mainlyprocesses an operating system, a user interface (User Interface, UI), anapplication program, and the like. The modem processor mainly processeswireless communication. It may be understood that, alternatively, themodem processor may not be integrated into the processor 101.

The terminal 100 may further include the power supply 114 (for example,a battery) that supplies power to each component. In this embodiment ofthe present invention, the power supply 114 may be logically connectedto the processor 101 by using a power management system, to managefunctions such as charging, discharging, and power consumption by usingthe power management system.

In addition, a component not shown in FIG. 1 also exists. For example,the terminal 100 may further include a Bluetooth module, and the like.Details are not described herein.

An embodiment of the present invention provides a display method. Themethod is applicable to the terminal 100 shown in FIG. 1. As shown inFIG. 2, the terminal is a terminal having a front-facing camera 1 and adisplay screen 2, where the front-facing camera and the display screenare on a same side of the terminal. It should be noted that, theterminal may further present a function key shown in FIG. 2 to the useron the display screen, where the function key may include a key used totrigger jumping to a previous display interface, a key used to triggerreturning to a home screen of the terminal, and the like. This is notlimited herein. As shown in FIG. 3, the method includes step 201 to step203.

Step 201: Present a running interface of an application by using thedisplay screen.

For a user, only producing evidence by using an image reflecting apeeping behavior of another user is insufficient because if contentwatched by the another user is content such as an advertisement or asoap opera, a behavior of the another user cannot be regarded as thepeeping behavior because the behavior of the another user cannotinfringe upon user privacy. Therefore, in this embodiment of the presentinvention, content presented on the current display screen to the user,in other words, a running interface of an application presented on thecurrent display screen needs to be obtained. It can be considered thatthe another user has the peeping behavior only when the contentpresented on the running interface of the application requirescomparatively high security or privacy. For example, when contentcurrently watched by the another user relates to user privacy, orrelates to information such as an account, a password, and a chatinterface of the user, it can be considered that the another user hasthe peeping behavior.

A payment interface is used as an example. As shown in FIG. 4, anapplication interface presented by a terminal on a display screen is apayment interface provided by an application having a payment function.The application interface presented on the display screen includes apayment dialog box, a digital keyboard, and basic information related tothe terminal such as a network status, a power consumption status, andtime. The payment dialog box usually includes information used to promptthe user to complete a payment operation and information such as apayment receiver, a payment amount, a payment approach, and a passwordinput area. For example, a current payment dialog box presents “XXXGroup” to attempt to enable a user to complete payment of CYN 139. Theuser is prompted, by using a text above the payment dialog box, to inputa payment password. The user may tap an arrow displayed at an end of arow in which “XXX Bank” is located to select a payment approach. In thiscase, a payment approach selected by the user is to use a bank card forpayment, and a selected bank card is a bank card of “XXX Bank”. Sixsuccessive rectangles below the payment dialog box are used by the userto input the payment password by using a digital keyboard, to complete apayment operation in a condition that the payment password is correct.

Step 202: Collect an image by using a front-facing camera.

Considering that if the another user attempts to peep at information, ofthe user, that requires comparatively high security such as paymentinformation and an account password, the another user needs to face thedisplay screen of the terminal, to peep at content currently displayedon the terminal. Therefore, if the user needs to obtain evidence, avideo or an image generated in a position in which the content displayedon the display screen can be currently peeped at needs to be obtained.However, the front-facing camera of the terminal is generally disposedon a side in which the display screen is located. Therefore, if theforegoing video or image is obtained, a built-in front-facing camera ofthe peeped-at terminal may be used to collect the video or the image.For example, FIG. 5 shows an image collected by the terminal by usingthe front-facing camera.

It should be noted that collecting the image by using the front-facingcamera may be collecting one frame of image at a current moment by usingthe front-facing camera, or collecting a plurality of consecutive framesof images generated within a period of time, or collecting severalframes of image extracted, randomly or according to a specific step,from a plurality of consecutive frames of images generated within aperiod of time. This is not limited herein. It can be learned that thecontent collected in step 202 may be one frame of image, a plurality offrames of images, a video consisting of a plurality of frames of images,or the like.

In addition, because the terminal currently presents the runninginterface of the application by using the display screen, the imagecollected by using the front-facing camera may be stored in a locationsuch as a local or a cloud of the terminal for temporary storage orpermanent storage by the user. When the terminal needs to simultaneouslypresent the application interface and the image collected by using thefront-facing camera, the image is obtained from the storage area.Certainly, the operation of collecting the image and the operation ofsimultaneous presentation may also be performed in real time. In otherwords, in a process in which the user uses the terminal, if the usercurrently expects to collect the image by using the front-facing camera,and simultaneously presents, on the display screen of the terminal, thecollected image and an application interface on which an operation isperformed, the user may manually trigger the terminal to collect theimage by using the front-facing camera, and present the collected imageand the application interface to the user. In this way, the collectedimage may be directly displayed without an intermediate buffer orstorage operation.

It should be noted that when the application presented in step 201matches a preset application, the terminal may automatically turn on thefront-facing camera to collect the image. That the application matchesthe preset application includes but is not limited to that theapplication is one of the preset applications, or that the currentlypresented application interface is a display interface or an operationinterface of the preset application. The preset application may bepreset by the user, or may be automatically set by the terminal withreference to a security level that is noted when the terminal downloadsthe preset application from a platform such as an application store.Details are not described herein.

The preset application may be an application that requires comparativelyhigh security or privacy, for example, a third-party application relatedto an online bank payment function or an application of each bank. Aspecified display interface may be a display interface, preset by apreset user, of a specific application or some applications thatrequire/requires comparatively high security, or a display interfacethat requires comparatively high security in a process of accessing orusing a specific application or some applications, for example, anapplication interface that displays content such as an encrypted file oran address book in a reading application. This is not limited herein. Aspecified operation interface is similar to the specified displayinterface. In other words, the specified operation interface is anoperation interface, preset by the preset user, of a specificapplication or some applications that require/requires comparativelyhigh security, or an operation interface that requires comparativelyhigh security in a process of accessing and using a specific applicationor some applications, for example, a login interface of each type ofapplication and an account setting interface of each type ofapplication. This is not limited herein.

Step 203: When the image collected by using the front-facing camerameets a preset condition, the display screen presents at least twodisplay windows.

A first display window displays the running interface of theapplication, and a second display window displays the image collected byusing the front-facing camera.

Content displayed in the first display window includes all or somecontent displayed on the running interface of the application. Inaddition, in this embodiment of the present invention, the runninginterface of the application may be an interface obtained by scalingdown according to a specific proportion by using the running interfaceof the application as a reference, or certainly may be an interfaceobtained by scaling down according to a specific proportion after somecontent displayed on the running interface of the application isextracted, or the like. This is not limited herein.

For the terminal, when the image collected by using the front-facingcamera meets the preset condition, the display screen may present atleast two display windows. That the image meets the preset conditionincludes but is not limited to that the image includes the user otherthan the preset user. For a manner of identifying the another user, anidentification manner provided in the prior art may be used. Thefollowing may also describe in detail the manner of identifying theanother user. Details are not described herein.

It should be noted that, before simultaneous presentation isimplemented, the application interface may be obtained in advance. Aspecific operation may be an operation manner, such as screen capturingor screen recording, used to capture a complete application interface orto capture an area that displays important information in a completeapplication interface. Screen capturing is used to obtain an applicationinterface presented by the terminal to the user at a current moment, forexample, the payment interface shown in FIG. 4. Screen recording is usedto obtain an interface presented by the terminal to the user in a timeperiod. The area that displays the important information may beconsidered as an area, in the application interface, reflecting thatcontent presented on the interface requires comparatively high security,for example, the payment dialog box shown in FIG. 4.

In this embodiment of the present invention, the manner ofsimultaneously presenting the application interface and the imagecollected by using the front-facing camera on the display screen may besplit-interface displaying. A specific implementation may usesplit-screen displaying. The split-screen displaying means that thedisplay window of the display screen is divided into at least twodisplay windows, the first display window displays the running interfaceof the application, and the second display window displays the imagecollected by using the front-facing camera.

In this embodiment of the present invention, the split-screen displayingrefers to dividing the display interface presented by the terminal tothe user into at least two parts. That the display interface is dividedinto two parts is used as an example. If FIG. 5 shows an image collectedby using a front-facing camera, a specific division manner may be anup-and-down split-screen mode used when a terminal shown in FIG. 6(a)and FIG. 6(b) is in portrait mode for watching, and may further be aleft-and-right split-screen mode used when a terminal shown in FIG. 7 isin landscape mode for watching.

It should be noted that, proportions of a first part and a second partof the foregoing two parts that respectively occupy an entire displayscreen may be the same, in other words, the display screen is equallydivided, or may be equally divided. This is not limited herein. When theforegoing two parts are divided, the two parts may be divided into tworectangles (including squares), or may be divided into two irregularareas. For example, a wavy line, a fold line, a slash line, or the likeis used as a boundary, and the display screen is divided into two parts,and therefore an interface presented to the user is more beautiful.Alternatively, the two parts are represented in a manner of stackinginterfaces (this presentation manner may also be considered as asplit-screen mode). For example, as shown in FIG. 8, a running interfaceof an application is stacked over an image collected by using afront-facing camera. It should be noted that FIG. 8 is merely a possibleexample. In an actual displaying process, the image collected by usingthe front-facing camera may be stacked over the running interface of theapplication. This is not limited herein. In addition, after the screensplitting, sizes of the two interfaces may be adjusted in a manner ofmanual dragging, sliding, or the like. In a case shown in FIG. 7(a) andFIG. 6(b), a location of the interface at an upper layer may also beadjusted in a manner of manual dragging, sliding, or the like. Inaddition, for a display mode shown in FIG. 8, to ensure that aninterface at a bottom layer can clearly present content displayed on theinterface as much as possible, an interface at the upper layer may bedisplayed at specific transparency. In this way, the interface at thebottom layer may also implicitly present content, and may be notcompletely covered by the interface at the upper layer. In thisembodiment of the present invention, presentation manners shown in FIG.6(a) and FIG. 6(b) to FIG. 8 each is possible presentation displaying. Aspecific division manner is not limited herein.

After the display screen is successfully divided into two parts,specific parts in which the image and the running interface of theapplication are respectively located are not limited in this embodimentof the present invention. For example, in portrait mode for watchingshown in FIG. 6(a), a collected image is located at an upper part of thedisplay screen, and a running interface of the application is located ata lower part of the display screen. In another case, in portrait modefor watching shown in FIG. 6(b), a collected image is located at a lowerpart of the display screen, and an application interface is located atan upper part of the display screen. In landscape mode for watchingshown in FIG. 7(a), a collected image is located at a right part of thedisplay screen, and a running interface of the application is located ata left part of the display screen. In another case, in landscape modefor watching shown in FIG. 7(b), a collected image is located at a leftpart of the display screen, and a running interface of the applicationis located at a right part of the display screen.

It should be noted that step 201 and step 202 may be simultaneouslyperformed, or may be performed in a particular order. This is notlimited herein.

Compared with a prior-art solution having a problem that a user cannotproduce valid evidence against the another user, in this embodiment ofthe present invention, the terminal may collect the image by using thefront-facing camera, and present the running interface of theapplication by using the display screen, and after the image collectedby using the front-facing camera meets the preset condition, the displayscreen presents the running interface of the application and the imagecollected by using the front-facing camera. In this way, the peepingbehavior of the another user and the content peeped at by the anotheruser may be simultaneously presented, to resolve the problem that thepeeping behavior of the another user cannot be proved.

Considering that power, resources, and the like of the terminal may beconsumed during real-time monitoring, in an implementation of thisembodiment of the present invention, subsequent split-screen displayingmay be triggered only after the front-facing camera identifies thatthere is the user other than the preset user in the collected image. Inother words, a monitoring procedure is triggered only when the contentcurrently watched by the user has a risk of leakage.

It should be noted that, in this embodiment of the present invention,there are a plurality of manners of identifying whether there is an areain which the user other than the preset user is located in the collectedimage. Reference may be made to the following possible implementations.However, in this embodiment of the present invention, an implementationof identifying the another user is not limited.

For example, the preset user may preset access permission in theterminal. Specifically, an image may be prestored by collecting a faceimage, an iris image, or the like of the preset user. After thefront-facing camera collects a face image, an iris image, or the likeother than that of the prestored image by using technologies such asfacial recognition and iris recognition, it is considered that there isa user that may be a peeper other than the preset user current watchingthe display screen.

The prestored image may be reflected as at least one image database, andeach image database stores a prestored image of one preset user. Thismeans that each terminal may be provided with at least one preset user,and different security levels may also be provided for different presetusers. For example, for a user A, it is considered that triggeringscreen splitting is necessary only when a running interface of anapplication is a payment interface; and for a user B, it is consideredthat triggering screen splitting is necessary only when a runninginterface of an application is a payment interface or an account logininterface. This is not limited in this embodiment of the presentinvention.

For another example, the terminal may determine, based on appearancetime of a person in the image collected by using the front-facingcamera, whether there is the another user. For content that requirescomparatively high security, an identity of the user usually needs to beverified before accessing. Therefore, in this embodiment of the presentinvention, it is considered that the user first appears in the imagecollected by using the front-facing camera. This means that a user thatappears after the first user inputs a collection range of thefront-facing camera is considered as the another user that may be apeeper.

If there is the another user, whether a distance between the anotheruser and the preset user is less than a specified value may bedetermined. It should be noted that another user comparatively close tothe preset user may be considered as basically the same as the presetuser in terms of an angle, a distance, and the like of watching thedisplay screen of the terminal. This means that a difference betweendefinition of content presented on the display screen watched by theanother user and definition of that watched by the preset user iscomparatively small. In this case, it may be considered that the anotheruser is very likely to clearly watch a running interface of anapplication currently watched by the preset user. Therefore, in thisembodiment of the present invention, it is considered that the anotheruser comparatively close to the preset user has a possibility ofpeeping.

In this embodiment of the present invention, a manner of detecting thedistance between the another user and the preset user includes but isnot limited to the following detection manners.

By increasing or decreasing display brightness of the display screen,the terminal identifies a brightness change between a face of the presetuser and a face of the another user, and analyzes and determines thedistance between the another user and the preset user.

The terminal prestores or obtains an imaging proportion presented byusing different position relationships between two users. The imagingproportion herein may be an imaging proportion between the face of thepreset user and the face of the another user, an imaging proportionpresented by using a position relationship between a facial feature ofthe preset user and a facial feature of the another user, or the like.This is not limited herein. The facial feature includes but is notlimited to features of five senses of a person.

In this embodiment of the present invention, if there is the anotheruser, whether the distance between the another user and the terminal isless than a specified value may also be determined. It should be notedthat another user comparatively close to the terminal may be consideredas another user whose angle, distance, or the like of watching thedisplay screen of the terminal can ensure that the another user canclearly watch a running interface of an application currently watched bythe preset user. Therefore, in this embodiment of the present invention,it is considered that the another user comparatively close to theterminal has a possibility of peeping.

In this embodiment of the present invention, a manner of detecting thedistance between the another user and the terminal includes but is notlimited to the following detection manners.

By increasing or decreasing display brightness of the display screen,the terminal identifies a brightness change on a face of the anotheruser, and analyzes and determines the distance between the another userand the terminal. A distance range actually corresponding to variousbrightness changes may be prestored in the terminal.

The terminal prestores or obtains an imaging proportion presented bydifferent position relationships between the user and the terminal. Theimaging proportion herein may be an imaging proportion of the face ofthe another user, a position relationship between a facial feature ofthe another user and the terminal, or the like. This is not limitedherein. The facial feature includes but is not limited to features offive senses of a person.

The specified value in the foregoing two implementations may be presetby the user based on an empirical value, or may be preset before theterminal is delivered from a factory. A setting manner, a settingoccasion, or the like is not limited herein.

For another example, by default, when the preset user watches thedisplay screen of the terminal, the image collected by using thefront-facing camera of the terminal includes an area in which twoeyeballs of the preset user are located. When an area in which a thirdeyeball is located appears in the collected image, it is considered thatthere is another user. In other words, when the image collected by thecurrent position camera includes two eyes of the preset user, andfurther includes at least a third eye, a first image is presented on thedisplay screen.

Considering that when an image of a user other than a preset user iscollected by the front-facing camera, if content currently watched bythe preset user does not require high security, it may also beconsidered that a behavior of the another user is not substantialpeeping. Therefore, in an implementation of this embodiment of thepresent invention, it not only needs to be ensured that there is theuser other than the preset user in the image, it but also needs to beensured that subsequent split-screen displaying is triggered only whenthe running interface of the application currently watched by the presetuser is the interface of the preset application.

It can be learned that in this embodiment of the present invention, ifsubsequent split-screen displaying needs to be triggered, image contentcollected by using the front-facing camera may be further monitored inreal time, periodically, or non-periodically, or an applicationinterface watched or operated by the preset user may be monitored on abasis of monitoring the image content, to determine whether there is theanother user and the peeping behavior. The split-screen displaying istriggered if there is the another user and the peeper behavior, andprocessing such as automatic focus (Auto Focus, AF), automatic exposure(Auto Exposure, AE), and automatic white balance (Automatic WhiteBalance, AWB) is performed.

FIG. 9 shows a possible system architecture of monitoring and producingevidence inside a terminal, namely, a monitoring forensic system. Themonitoring forensic system includes a split-screen controller, anautomatic focus module, and an image information processing (ImageSignal Processing, ISP) system. A function of the ISP system is toperform processing such as AF, AE, and AWB on the image. The monitoringforensic system detects, by using the automatic focus module, whetherthere is another user and a peeping behavior currently, and if there isthe another user and/or the peeping behavior, triggers the split-screencontroller to implement split-screen displaying of the terminal. Then,the ISP system processes an image to be displayed in a split-screen mode

The automatic focus module may be a wide-angle module that can performautomatic focus. FIG. 10 is a schematic diagram of monitoring by using awide-angle camera. The foregoing wide-angle camera may be a front-facingcamera of the terminal. In this embodiment of the present invention, adirection perpendicular to the front-facing camera may be defined as anormal direction z (in other words, a positive direction of a z axis ina rectangular coordinate system), and a visible area in two sides of theZ axis is defined as a field of view (Field Of View, FOV). A larger FOVindicates a wider monitoring range. Therefore, an angle of the FOV ofthe front-facing camera is generally set to approach 180 degrees, toexpand a monitoring range of the front-facing camera, thereby achievinga better monitoring effect. FIG. 11 is a schematic diagram ofdisplaying, on a display screen of a terminal, an image collected byusing a front-facing camera shown in FIG. 10. To be specific, afterbeing preprocessed, all content, in the angle range of the FOV, that canbe collected by the terminal by using the front-facing camera ispresented to a user on the display screen. It should be noted that,because resolution of the image collected by using the front-facingcamera is generally greater than resolution of the content that can bepresented on the display screen, the foregoing preprocessing includes atleast scaling down the collected image to obtain an interface thatsatisfies the resolution of the display screen, and then displaying theinterface on the display screen. For a specific imaging processingprocess, refer to the prior art. This is not limited herein.

Split-screen displaying actually means that content not displayed at asame moment and content currently presented on the display screen aresimultaneously displayed on the display screen. This means that such adisplay mode inevitably affects a display proportion of an originalimage and an interface. Therefore, in an implementation of thisembodiment of this application, when the image collected by using thefront-facing camera and the application interface are simultaneouslydisplayed, a display size and/or the display proportion of the image andthe application interface need/needs to be adjusted.

A specific adjustment manner may be:

enlarging at least a partial area of the image collected by using thefront-facing camera.

An enlarged image is used as an image collected by using thefront-facing camera, and is presented together with a running interfaceof an application by using the display screen. In this case, an enlargedimage is displayed in the second display window.

It should be noted that the at least a partial area may be an area inwhich a user other than a preset user is located, or certainly may be anarea, in an area in which the another user is located, that can reflectpersonal features of the another user, for example, an area of fivesenses. This is not limited herein.

Therefore, in step 203, that the display screen presents at least twodisplay windows may be implemented as step 301 to step 303.

Step 301: Scale down a running interface of an application according toa first proportion, to obtain a target interface.

Assuming that an interface currently presented by the terminal is therunning interface of the application shown in FIG. 4, before the runninginterface of the application is presented on the display screen in asplit-screen displaying mode, the running interface of the applicationalso needs to be scaled down, as shown in FIG. 6(a) and FIG. 6(b) orFIG. 7(a) and FIG. 6(b), the target interface is obtained after therunning interface of the application shown in FIG. 4 is adjustedaccording to the first proportion, in other words, the target interfaceis obtained after the running interface of the application is scaleddown according to the first proportion, such as an application interfaceincluding a payment dialog box and a digital keyboard shown in FIG. 6(a)and FIG. 6(b) to FIG. 8. It should be noted that, compared with therunning interface of the application, the content presented on thetarget interface may not change, and only a size and definition of therunning interface of the application change.

It should be noted that, in a process of scaling down the applicationinterface, the application interface may be scaled down by an area, orthe running interface of the entire application may be scaled down in anequal proportion. This is not limited herein.

The running interface of the application shown in FIG. 4 is used as anexample. For example, considering that a user currently needs to input apassword to implement a payment function, to facilitate a useroperation, in a process of scaling down the running interface of theapplication, only the payment dialog box is scaled down, and an originalpresentation proportion of the digital keyboard may be retained. In thisway, for the user, in a process of inputting the password, because thedigital keyboard retains an original display size on the runninginterface of the application, the user may retain an original inputhabit, and complete a password inputting process in an original inputmanner, for example, as shown in FIG. 6(a) and FIG. 6(b) to FIG. 8.

For another example, considering that the user expects to more clearlywatch an image collected by using a front-facing camera, the usercertainly expects that a proportion of the target interface in thedisplay screen is smaller. In this case, in a process of scaling downthe running interface of the application to generate the targetinterface, not only the payment dialog box may be scaled down,similarly, the digital keyboard may also be scaled down according to acertain proportion, as shown in FIG. 12. It should be noted that an areain which the payment dialog box is located and an area in which thedigital keyboard is located may be scaled down according to a sameproportion, or may be scaled down according to different proportions.This may be set by the user in advance according to an operation habit,an operational requirement, and the like of the user. This is notlimited herein. This means that the first proportion may include oneproportion parameter or a plurality of proportion parameters. When onlyone proportion parameter is included, the terminal scales down therunning interface of the application according to this proportion, andwhen the plurality of proportion parameters are included, the terminalmay divide the running interface of the application into at least twoareas, and each area or a plurality of areas is/are scaled downaccording to a same proportion parameter. In this way, the targetinterface may be obtained after all areas on the running interface ofthe application are scaled down according to some same proportionparameters or all different proportion parameters.

For another example, considering that the user not only expects toclearly watch the image collected by using the front-facing camera, butalso does not expect to affect an actual password input operation, inother words, the user does not want to use a scaled down keyboard toimplement a password input process, in this embodiment of the presentinvention, a partial area on the running interface of the applicationmay be scaled down only by using a specific proportion. For example, asshown in FIG. 13, only an area in which the payment dialog box islocated is scaled down, a presentation effect of an area in which anoriginal digital keyboard is located is retained, and in a process ofscaling down the area in which the payment dialog box is located, a partof unimportant information is shielded, in other words, a part of areais deleted, to ensure that an area in which a scaled down payment dialogbox is located occupies less presentation space on the display screen.For example, a password input by the user is generally presented in thepayment dialog box, to ensure security of input information, thepassword is generally replaced with a specific character for display,and this means that although this part of content is presented to theuser, no substantial information can be conveyed. Therefore, in thisembodiment of the present invention, this part of less important areamay be hidden or deleted, in other words, the content is not presentedin a displaying process.

For another example, considering that the user only expects to moreclearly watch the image collected by using the front-facing camera, in aprocess of scaling down and presenting the running interface of theapplication, this part of unimportant area may be hidden or deleted, andrunning interfaces of some applications that need to be retained arescaled down, as shown in FIG. 14.

It can be learned that, in the foregoing process of “scaling down arunning interface of an application according to a first proportion, toobtain a target interface”, the “scaling down the application interface”may include only a scaling-down operation, or include a scaling-down orhiding (which may also be considered as deletion) operation. Inaddition, the first proportion may include at least one proportionparameter used to scale down an entire area or a partial area on therunning interface of the application. This is not limited in thisembodiment of the present invention, and the foregoing content is merelyused as a possible example. It should be noted that, displaying inportrait mode is used as an example in the foregoing content, and isalso applicable to a case of displaying in landscape mode. Details arenot described herein.

Step 302: Adjust, according to a second proportion, the image collectedby using the front-facing camera, to obtain a target image.

Assuming that the image collected by the terminal by using thefront-facing camera is an image shown in FIG. 5, the image may beconsidered as an original collected image. For example, a pixel of theoriginal image is the same as a pixel of a display image on the displayscreen, and before the image is presented on the display screen in asplit-screen displaying mode, the original image needs to be scaleddown, in other words, adjusting the pixel of the original image. In thisprocess, the original image is usually blurred due to a pixel change.Therefore, the image collected by using the front-facing camera in FIG.6(a) and FIG. 6(b), FIG. 7(a) and FIG. 6(b), and FIG. 12 to FIG. 14 maybe considered as the target image obtained after the original image isadjusted according to the second proportion, in other words, the targetimage obtained after the original image is scaled down according to thesecond proportion. It should be noted that, compared with the originalimage, content presented in the target image may not change, and onlythe pixel is adjusted. In this embodiment of the present invention, itmay also be considered as changes in an image size and definition.

It should be noted that, in addition to the foregoing implementation,only a partial area in the image may be adjusted by using the secondproportion, and then an adjusted partial area is presented as the targetimage. This implementation is proposed below, and details are notdescribed herein.

Step 303: When the image collected by the camera meets a presetcondition, the display screen separately presents a target image and atarget interface in two display windows.

It can be learned that, in a process of simultaneously displaying thetarget interface and the target image in the split-screen displayingmode, a presentation proportion needs to be adjusted between the imagecollected by using the front-facing camera and the displayed runninginterface of the application, to ensure that content finally presentedon the display screen can better meet a current user requirement. Inaddition, in a process of combining and displaying the image collectedby using the front-facing camera and the displayed running interface ofthe application on a same display screen, adjustment may be performedaccording to a different proportion with reference to the userrequirement, and/or a partial area may be selectively hidden or deletedwith reference to the user requirement. In this way, effectivelysplit-screen displaying is implemented.

To present the image of the another user more clearly, in a possibleimplementation of this embodiment of the present invention, the area inwhich the another user is located in the image collected by using thefront-facing camera may be adjusted, the adjusted specified area is usedas the target image, and is presented on the display interface.Therefore, in step 302, that the image collected by using thefront-facing camera is adjusted according to the second proportion toobtain the target image may be implemented as step 401 and step 402.

Step 401: Obtain an area in which another user is located in an imagecollected by using a front-facing camera.

In an example in which FIG. 5 shows an image collected by the terminalby using the front-facing camera, a part outlined by a dashed line inFIG. 15 may be considered as the area in which the another user islocated, in other words, the area in which the another user is locatedin this embodiment of the present invention. In this embodiment of thepresent invention, a specified area may be determined from the image byusing technologies such as facial recognition and iris recognition. Amanner of determining the specified area is not limited herein.

Step 402: Adjust the specified area according to a second proportion, toobtain a target image.

In this embodiment of the present invention, that the area in which theanother user is located is scaled up or down is determined based on botha size of the specified area and a size of the target image presented onthe display screen, to obtain the target image. For example, if a sizeof an area outlined by a dashed line is less than a size of an areafinally presented on the display screen, the area outlined by the dashedline may be scaled up according to a specific proportion. On thecontrary, if a size of an area outlined by a dashed line is greater thana size of an area finally presented on the display screen, the areaoutlined by the dashed line may be scaled down according to a specificproportion. It should be noted that, considering that a length-widthproportion of the area outlined by the dashed line may be different froma length-width proportion of a target image that can be finallypresented on the display screen. A length and a width of the image maybe separately processed with reference to an actual display requirement.For example, a horizontal length of the area outlined by the dashed lineis scaled up for display and a vertical length of the area outlined bythe dashed line is scaled down for display, or a horizontal length ofthe area outlined by the dashed line is scaled down for display and avertical length of the area outlined by the dashed line is scaled up fordisplay. This is not limited herein.

Considering that a pixel of the front-facing camera is generally above 8million and that a pixel of some front-facing cameras may even reach 20million or more, a mainstream full-high-definition (Full HighDefinition, FHD) display screen can generally reach 2 million pixels. Itmeans that a pixel of an image presented on the display screen is farlower than a pixel of the image collected by using the front-facingcamera. It can be learned that the collected image presented on thedisplay screen is usually displayed on the display screen after aplurality of pieces of pixel information collected by using thefront-facing camera are compressed into one display pixel point.Therefore, to ensure definition of the split-screen displaying, when thearea in which the another user is located needs to be extracted, afterthe area in which the another user is located is determined, an actualpixel point in the area in which the another user is located may berestored, in other words, a pixel corresponding to the area in which theanother user is located in an image actually collected by using thefront-facing camera. Then, pixel information is compressed based on thepixel corresponding to the area in which the another user is located inthe image actually collected by using the front-facing camera, and acorresponding display pixel that conforms to an area of an imagedisplayed on the final display screen is finally obtained, as shown inFIG. 16(a), FIG. 16(b), FIG. 16(c), and FIG. 16(d) and FIG. 17(a) andFIG. 17(b). Content shown in FIG. 16(a), FIG. 16(b), FIG. 16(c), andFIG. 16(d) is similar to that shown in FIG. 6(a) and that shown in FIG.12 to FIG. 14. A difference lies in that a position in which an image isdisplayed is replaced from an area in which the image collected by usingthe front-facing camera is located to an area in which the another userin the image collected by using the front-facing camera is located. Forcontent of other parts, refer to descriptions corresponding to in FIG.6(a) and text descriptions corresponding to FIG. 12 to FIG. 14. Detailsare not described herein again.

In addition, this embodiment of the present invention is also applicableto displaying in landscape mode, as shown in FIG. 17(a) and in FIG.17(b). A difference between FIG. 17(a) and FIG. 17(b) lies in thatdisplay positions of function areas displaying parameters such as abattery level, time, and a network status are different. With referenceto an actual user requirement, this part of content may be selected tobe displayed or not displayed on the display screen. In addition, if thedisplay is allowed, the user may select a display position. When thecontent is watched in landscape mode by default, the function area maybe displayed on an upper right of the screen. If an image presented inthis case is rightly on a right side of the display screen, to enablethe user to watch a clearer image (in other words, an image is displayedin a larger area on the right side of the display screen), the functionarea may be displayed on a left side of the display screen. This is notlimited herein.

Generally, an area in which the another user that is a peeper occupiesonly a very small area in the image collected by using the front-facingcamera. If the area in which the another user is located is directlypartially scaled up and displayed, a pixel point cannot be effectivelyused, and imaging definition of the area in which the another user islocated is usually reduced. However, after using the foregoingprocessing solution, the pixel point can be effectively used, so thatthe area in which the another user is located is clearly displayed onthe display screen, for watching and obtaining subsequent evidence bythe user.

In this embodiment of the present invention, the terminal may obtain thetarget image in a presentation manner in which the terminal superimposespartial scaled-up area in which the another user is located onto theimage collected by using the front-facing camera. For example, FIG. 15shows an image collected by using a front-facing camera. Duringsplit-screen displaying, content presented on a display screen may be aninterface shown in FIG. 18. It should be noted that the area after beingscaled up in which the another user is located is superimposed onto theimage collected by using the front-facing camera, to avoid affecting anoverall presentation effect, an important contour line in the area inwhich the another user is located may be bold for display, and/ortransparency of each pixel in the image collected by using thefront-facing camera is increased, and/or an important contour line inthe image collected by using the front-facing camera is tapered fordisplay, or the like. This is not limited herein. An objective of theforegoing possible processing situation lies in that the area in whichthe another user is located is more clearly presented to the user, andthe image collected by an original front-facing camera is displayed in adimmed manner. Certainly, to more clearly present the area in which theanother user is located, the area in which the another user is locatedmay be displayed after a frame is added, in other words, asuperimposition effect of the two layers of images is presented to theuser. In addition, a position of an image on an upper layer or a bottomlayer may be adjusted by sliding, dragging, or the like.

It can be learned that, after the at least a partial area of the imagecollected by using the front-facing camera is enlarged, the first imagepresented to the user includes the enlarged image and the applicationinterface. After the foregoing processing, the user can watch theclearer image of the area in which the another user is located. This maybe more beneficial to subsequent evidence producing.

Considering that in an image collection process, focus and exposure areimplemented by the front-facing camera by using a center of a collectionarea as a position of a focus window by default, in a possibleimplementation of this embodiment of the present invention, to make thearea in which the another user that is a peeper is located clearer,before the image is collected by using the front-facing camera in step202, step 501 may be further performed, and after step 501 is performed,step 502 may be further performed.

Step 501: Adjust a focus window of a front-facing camera to an area inwhich a user other than a preset user is located.

The image shown in FIG. 15 is used as an example. A position of anoriginal focus window is a position shown in FIG. 19(a), in other words,a central area of the image. After adjustment, a position of the focuswindow may be a position shown in FIG. 19(b), in other words, the areain which the user other than the preset user is located.

It should be noted that an adjusted focus window at least partiallyoverlaps the area in which the another user is located. This means thatthe adjusted focus window may be completely located in the area in whichthe another user is located, or cover a part of the area in which theanother user is located, or cover the entire area in which the anotheruser is located. This is not limited herein. In this embodiment of thepresent invention, it suffices to ensure that after the focus window isadjusted, focus on the area in which the another user is located can bebetter implemented.

As shown in FIG. 20, FIG. 20 is a schematic diagram of a focus windowadjustment process. After a camera (in other words, a front-facingcamera) collects an image (in other words, an original image), imagefocus data may be generated by invoking an automatic focus algorithm,and then whether the currently collected original image is clear isdetermined. A specific implementation process may be calculating aparameter such as a contrast ratio by using an AF algorithm, to measurewhether the original image is clear. If the original image is not clear,a control signal is sent to an exciter through an excitation interface,to notify a driver chip (Driver IC) of an amplitude that is adjusted bydriving a motor. Then, the drive chip drives the motor to adjust a lensposition, and feeds back adjusted information to the excitationinterface.

In an actual operation process, the foregoing focus window adjustmentmay be implemented after the terminal identifies the another user anddetermines the area in which the another user is located, and may alsobe implemented by the user in a manual adjustment manner in which theuser directly performs an operation such as tapping or sliding on thedisplay screen. This is not limited herein.

It can be learned that, in this embodiment of the present invention, animage of the area in which the another user finally presented is clearlyby adjusting the focus window.

Step 502: Adjust exposure weights of different areas in the image basedon a current position of the focus window.

Based on the focus window adjustment, the terminal may further increasedefinition of the image in the area in which the another user is locatedby adjusting an exposure weight of a partial area or an entire area of aspecified area. It should be noted that, in this embodiment of thepresent invention, the collected image may be divided into several smallwindows, for example, 8×8, and a corresponding weight is allocated toeach small window. For example, a schematic diagram of the exposureweight shown in FIG. 21(a) is used as an example. A larger numberindicates a higher exposure weight of this part of area (in other words,a small window). In other words, it is necessary to emphaticallyconsider whether an area with a comparatively high exposure weight hasappropriate brightness in an imaging process. After the focus window isadjusted, in other words, after the focus window is adjusted from acentral area to a left area of the center, an exposure weight of theimage may also be adjusted properly. A schematic diagram of an adjustedexposure weight is a schematic diagram shown in FIG. 21(b).

Obviously, an exposure weight is higher at an area closer to a positionof the focus window. A weight of the area, at an edge, in which theanother user is located is increased, to dynamically adjust exposuretime and a gain, thereby ensuring that brightness of the area in whichthe another user is located is proper. This can avoid a problem causedby overexposure or underexposure of the area in which the another useris located in the image collected by using the front-facing camera.Overexposure causes excessively high brightness of image, andunderexposure causes excessively low brightness of the image.

Considering that evidence not only needs to be obtained to present apeeping behavior of the another user to the user, but also needs to beobtained to subsequently present the collected content to the police ora related law enforcement department, in a possible implementation ofthis embodiment of the present invention, the collected content mayfurther be stored. The collected content is selectively sent to a deviceother than the terminal, namely, the target device. Therefore, based onthe implementation shown in FIG. 3, an implementation shown in FIG. 22may be further implemented. After step 203 of presenting the at leasttwo display windows on the display screen is performed, step 601 and/orstep 602 may be further performed. Alternatively, step 601 and/or step602 may be performed when the display screen presents at least twodisplay windows. Alternatively, step 601 and/or step 602 may beperformed before the display screen presents at least two displaywindows. A sequence of performing the steps is not limited in thisembodiment of the present invention.

Step 601: Automatically store a first image.

In this embodiment of the present invention, there are a plurality ofmanners of obtaining the content currently presented on the displayscreen, for example, operations such as screen capturing and screenrecording. For example, a shortcut key similar to a floating window isset on the display screen, and the user may tap the shortcut key totrigger the operations such as screen capturing and screen recording, asshown in FIG. 23. Only one possible existence form of the shortcut keyis shown in the figure. The shortcut key may be hidden to be set. Whenthe user needs the shortcut key, the shortcut key is presented byperforming an operation such as clicking or sliding. This is not limitedherein. In this embodiment of the present invention, the user mayalternatively trigger the operations such as screen capturing and screenrecording by double tapping a function key or simultaneously tapping atleast two function keys. This is not limited herein.

After successfully obtaining the content presented on the currentdisplay screen, the terminal may automatically store the obtainedcontent in a preset local storage area for subsequent invoking,watching, or the like by the user.

Step 602: Send, to a target device, the content presented in the atleast two display windows.

It should be noted that the terminal may further send, to the targetdevice, the running interface of the application presented on thecurrent display screen and the image collected by using the front-facingcamera, to implement an evidence producing function or a storagefunction. For example, the target device may be a device other than theterminal, or may be a third-party device such as a server configured toimplement data storage on a network side.

It can be learned that, in the embodiment of the present invention, theforegoing implementation may be used to store content obtained throughevidence collection for subsequent evidence producing, or the relatedcontent may be directly submitted to a law enforcement department.

It should be noted that a process of sending, to the target device, thecontent presented in the at least two display windows may also beimplemented as that the terminal automatically sends, to the targetdevice, the content presented in the at least two display windows. Thismeans that after the display screen presents the at least two displaywindows, to ensure that evidence information is transferred to the e lawenforcement department timely or stored to the third-party device assoon as possible, the terminal may be automatically triggered toimplement the operation of sending the content presented in the at leasttwo display windows.

For example, FIG. 24 is a flowchart of an evidence information obtainingmethod according to an embodiment of the present invention. The methodincludes the following steps.

Step 1 a: Open a payment (privacy) interface.

Step 2 a: Enable a monitoring function.

It should be noted that the monitoring function refers to that afront-facing camera collects an image, and a terminal monitors contentpresented on a current display interface and an operation of a user.

Step 3 a: Determine whether a current scenario is a peeping scenario. Ifyes, step 4 a is performed; or if not, the monitoring function continuesto be performed.

In this embodiment of the present invention, there are a plurality ofmanners of determining whether a scenario is the peeping scenario, forexample, the foregoing mentioned method for determining whether theimage collected by using the front-facing camera includes the image ofthe user other than the preset user.

Step 4 a: Implement automatic split-screen displaying (photographing).

In this case, the image is obtained by photographing by using thefront-facing camera of the terminal.

Step 5 a: Enlarge an image of another user.

To be specific, image enlargement is performed on an area in which theanother user is located in the collected image.

Step 6 a: Implement automatic focus and exposure.

To be specific, for an enlarged image of the area in which the anotheruser is located, automatic focus is implemented, and the exposure isimplemented in combination with a focused image.

Step 7 a: Obtain evidence information.

To be specific, an interface presented on the display screen of thecurrent terminal is obtained by using screen capturing or screenrecording.

For another example, FIG. 25 is a flowchart of another evidenceinformation obtaining method according to an embodiment of the presentinvention. The method includes the following steps.

Step 1 b: Open a payment (privacy) interface.

Step 2 b: Enable a monitoring function.

Step 3 b: Determine whether a current scenario is a peeping scenario. Ifyes, step 4 b is performed; or if not, the monitoring function continuesto be performed.

Step 4 b: Implement automatic split-screen displaying (photographing).

Step 1 b to step 4 b are the same as step 1 a to step 4 a. Details arenot described herein again.

Step 5 b: Adjust focus of a focus window.

For a process of adjusting the focus window, refer to text content inthe foregoing embodiment. Details are not described herein again.

Step 6 b: Adjust an AE exposure weight.

For a process of adjusting the exposure weight, refer to text content inthe foregoing embodiment. Details are not described herein again.

Step 7 b: Enlarge an image of another user.

Step 8 b: Obtain evidence information.

Step 7 b is the same as step 5 a, and step 8 b is the same as step 7 a.Details are not described herein again.

In this embodiment of the present invention, the terminal may sendprompt information to prompt the user to pay attention to protectingpersonal information. FIG. 26 is a schematic diagram of an interface ofprompting the user to pay attention to protecting personal information.

In FIG. 26, a terminal pops up a dialog box, and presents, in the dialogbox, words “Potential security risks exist in the current environment,please protect personal privacy” is used to prompt the user to payattention to protecting personal information. It should be noted that, apresentation location of the dialog box, content displayed in the dialogbox, a presentation interface used as a background when the dialog boxis presented, and the like are not limited to those shown in FIG. 26.The foregoing content is not limited in this embodiment of the presentinvention. In addition, the terminal may further prompt to pay attentionto protecting personal information in a manner of voice prompt, ringing,or the like.

In addition, in FIG. 26, an occasion in which the terminal prompts topay attention to protecting the personal information is after presentinga first image on the display screen by the terminal. However, in anactual prompting process, the terminal may prompt the user whendetermining that the application matches the preset application or theimage collected by using the front-facing camera meets the presetcondition, a prompting occasion is not limited herein.

For security, after determining that there is a security risk for theuser, the terminal may further present the preset interface on thedisplay screen. The preset interface is a display interface that is setby the user or a display interface that is preset in the terminal, andincludes but is not limited to a display interface or an operationinterface that requires comparatively low security, such as a picture ora home screen of the terminal. Certainly, the preset interface mayalternatively be an interface accessed by the user before the useraccesses the current application interface, an interface that iscurrently running on the background and whose time for switching, by theuser, an application corresponding to the interface to the background iscomparatively short, or the like. A picture or an animation may also besuperimposed on the application interface, the picture or the animationmay be moved, or may be deleted. This is not limited herein. FIG. 27 isa schematic diagram of presenting, by a terminal to a user, a homescreen of the terminal that is used as a preset interface.

For example, the terminal receives a first operation that is input bythe user, where the first operation is used to start a specificapplication in the terminal. In response to the first operation, theterminal presents a running interface of the application on a displayscreen, and when the application matches a preset application,automatically turns on a front-facing camera and collects an image byusing the front-facing camera. When the image collected by using thefront-facing camera meets a preset condition, the display screenpresents at least two display windows, a first display window displaysthe running interface of the application, and a second display windowdisplays the image collected by using the front-facing camera. Then, theterminal may automatically store content presented in the at least twodisplay windows. The content presented in the at least two displaywindows is selectively sent to the target device. To prompt to payattention to protecting personal information, a prompt may be furthersent out, and/or to directly help a preset user to effectively protectpersonal information, the preset interface may be further presented onthe display screen. The prompt information is used to prompt to payattention to protecting personal information.

Content displayed on the second display window may alternatively be anenlarged image. In other words, before displaying the enlarged image onthe second display window, the terminal may enlarge at least a partialarea of the image collected by using the front-facing camera. In thiscase, a focus window of the front-facing camera is located in an area inwhich the user other than the preset user is located.

In this embodiment of the present invention, the sending, to a targetdevice, the content presented in the at least two display windows may bespecifically implemented as:

receiving a second operation that is input by the user, where the secondoperation is used to trigger the terminal to transfer, to the targetdevice, the content presented in the at least two display windows. Inresponse to the second operation, the content presented in the at leasttwo display windows is sent to a target device. Alternatively, in thisembodiment of the present invention, the terminal may automaticallysend, to the target device, the content presented in the at least twodisplay windows.

It should be noted that the preset condition includes at least thefollowing: the image collected by using the front-facing camera includesan image of a user other than a preset user, and a distance between theanother user and the preset user is less than a specified value; and/orthe image collected by using the front-facing camera includes an imageof a user other than a preset user, and a distance between the anotheruser and the terminal is less than a specified value; and/or the imagecollected by using the front-facing camera includes two eyes of a presetuser, and further includes at least a third eye; and/or a result offacial recognition performed on the image collected by using thefront-facing camera indicates that the image includes a face image otherthan a preset image.

In addition, the running interface of the application includes but isnot limited to the password input interface, and may alternatively beanother interface related to preset personal information of the user,and certainly may alternatively be an interface that requirescomparatively high security. This is not limited herein.

In this way, if the another user has a peeping behavior, the terminalcan simultaneously present an image of the peeping behavior and peepingcontent of the another user, to resolve a problem that the peepingbehavior of the another user cannot be proved.

An embodiment of the present invention provides a display apparatus,applied to a terminal having a front-facing camera and a display screen.The front-facing camera and the display screen are on a same side of theterminal. To implement the foregoing functions, the apparatus includes acorresponding hardware structure and/or software module for implementingeach function. A person skilled in the art should be easily aware that,in combination with the examples described in the embodiments disclosedin this specification, units and algorithm steps can be implemented byhardware or a combination of hardware and computer software in thepresent invention. Whether a function is performed by hardware orhardware driven by computer software depends on particular applicationsand design constraints of the technical solutions. A person skilled inthe art may use different methods to implement the described functionsfor each particular application, but it should not be considered thatthe implementation goes beyond the scope of the present invention.

In the embodiments of the present invention, function module divisionmay be performed on the apparatus based on the foregoing methodexamples. For example, each function module may be obtained throughdivision based on each corresponding function, or two or more functionsmay be integrated into one processing module. The integrated module maybe implemented in a form of hardware, or may be implemented in a form ofa software functional module. It should be noted that the moduledivision in the embodiments of the present invention is an example, andis merely logical function division. There may be another divisionmanner in actual implementation.

FIG. 28 is a possible schematic structural diagram of the displayapparatus in the foregoing embodiment. A display apparatus 10 includes:a display module 11, a collection module 12, a starting module 13, anenlargement module 14, a storage module 15, a sending module 16, and aprompt module 17. The display module 11 is configured to support thedisplay apparatus 10 in displaying a running interface of an applicationand displaying at least two display windows. The collection module 12 isconfigured to support the display apparatus 10 in collecting an image.The starting module 13 is configured to support the display apparatus 10in automatically turning on a front-facing camera. The enlargementmodule 14 is configured to support the display apparatus 10 in enlargingthe image. The storage module 15 is configured to support the displayapparatus 10 in automatically storing content presented in the at leasttwo display windows, and/or storing required program code and data. Thesending module 16 is configured to support the display apparatus 10 insending, to a target device, the content presented in the at least twodisplay windows, and support data exchange between modules in thedisplay apparatus 10. The prompt module 17 is configured to support thedisplay apparatus 10 in prompting to pay attention to protectingpersonal information.

The starting module 13 and the enlargement module 14 may be implementedas a processor or a controller, for example, may be the processor 101 inFIG. 1, or may be a central processing unit (Central Processing Unit,CPU), a general purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit(Application-Specific Integrated Circuit, ASIC), a field programmablegate array (Field Programmable Gate Array, FPGA) or another programmablelogic device, a transistor logic device, a hardware component, or anycombination thereof. The processor may implement or execute variousexample logical blocks, modules, and circuits described with referenceto content disclosed in the present invention. The processor may also bea combination implementing a computing function, for example, acombination of one or more microprocessors, or a combination of the DSPand the microprocessor. The sending module 16 may be implemented as atransceiver, a transceiver circuit, a communications interface, or thelike. The storage module 15 may be implemented as a memory.

If the starting module 13 and the enlargement module 14 are implementedas a processor, the display module 11, the collection module 12, thesending module 16, and the prompt module 17 are implemented as atransceiver, and the storage module 15 is implemented as a memory, asshown in FIG. 29, the terminal 20 includes a processor 21, a transceiver22, a memory 23, and a bus 24. The processor 21, the transceiver 22, andthe memory 23 are interconnected by using the bus 24. The bus 24 may bea peripheral component interconnect (Peripheral Component Interconnect,PCI) bus, an extended industry standard architecture (Extended IndustryStandard Architecture, EISA) bus, or the like. The bus may be classifiedinto an address bus, a data bus, a control bus, and the like. For easeof representation, the bus 24 is represented by using only one bold linein FIG. 29. However, it does not mean that there is only one bus or onlyone type of bus.

FIG. 30 is a possible schematic structural diagram of the displayapparatus in the foregoing embodiment. A display apparatus 30 includes:a receiving module 31, a display module 32, a starting module 33, acollection module 34, a storage module 35, a sending module 36, a promptmodule 37, and an enlargement module 38. The receiving module 31 isconfigured to support the display apparatus 30 in receiving a firstoperation and a second operation of a user. The display module 32 isconfigured to support the display apparatus 30 in displaying a runninginterface of an application and displaying at least two display windows.The starting module 33 is configured to support the display apparatus 30in automatically turning on a front-facing camera. The collection module34 is configured to support the display apparatus 30 in collecting animage. The storage module 35 is configured to support the displayapparatus 30 in automatically storing content presented in the at leasttwo display windows, and/or storing required program code and data. Thesending module 36 is configured to support the display apparatus 30 insending, to a target device, the content presented in the at least twodisplay windows, and support data exchange between modules in thedisplay apparatus 30. The prompt module 37 is configured to support thedisplay apparatus 30 in prompting to pay attention to protectingpersonal information. The enlargement module 38 is configured to supportthe display apparatus 30 in enlarging the image.

The starting module 33 and the enlargement module 38 may be implementedas a processor or a controller, for example, may be the processor 101 inFIG. 1, and may be a CPU, a general purpose processor, a DSP, anapplication-specific integrated circuit ASIC, an FPGA or anotherprogrammable logic device, a transistor logic device, a hardwarecomponent, or any combination thereof. The processor may implement orexecute various example logical blocks, modules, and circuits describedwith reference to content disclosed in the present invention. Theprocessor may also be a combination implementing a computing function,for example, a combination of one or more microprocessors, or acombination of the DSP and the microprocessor. The receiving module 31and the sending module 36 may be implemented as a transceiver, atransceiver circuit, a communications interface, or the like. Thestorage module 35 may be implemented as a memory.

If the starting module 33 and the enlargement module 38 are implementedas a processor, the receiving module 31, the display module 32, thecollection module 34, the sending module 36, and the prompt module 37are implemented as a transceiver, and the storage module 35 isimplemented as a memory, as shown in FIG. 31, the terminal 40 includes aprocessor 41, a transceiver 42, a memory 43, and a bus 44. The processor41, the transceiver 42, and the memory 43 are interconnected by usingthe bus 44. The bus 44 may be a PCI bus, an EISA bus, or the like. Thebus may be classified into an address bus, a data bus, a control bus,and the like. For ease of representation, the bus 44 is represented byusing only one bold line in FIG. 31. However, it does not mean thatthere is only one bus or only one type of bus.

An embodiment of the present invention provides a computer programproduct, the computer program product includes software code, and thesoftware code is used to perform the foregoing method procedure.

An embodiment of the present invention provides a readable storagemedium, including an instruction. When the instruction is run on aterminal, the terminal is enabled to perform the foregoing methodprocedure.

A person skilled in the art should be aware that in the foregoing one ormore examples, functions described in the embodiments of the presentinvention may be implemented by hardware, software, firmware, or anycombination thereof. When the functions are implemented by software, thefunctions may be stored in a computer readable medium or transmitted asone or more instructions or code in a computer readable medium. Thecomputer readable medium includes a computer storage medium and acommunications medium. The communications medium includes any mediumthat enables a computer program to be transmitted from one place toanother. The storage medium may be any available medium accessible to ageneral-purpose or special-purpose computer.

The objectives, technical solutions, and beneficial effects of theembodiments of the present invention are further described in detail inthe foregoing specific implementations. It should be understood that theforegoing descriptions are merely specific implementations of thepresent invention, but are not intended to limit the protection scope ofthe present invention. Any modification, equivalent replacement, orimprovement made based on the technical solutions of the embodiments ofthe present invention shall fall within the protection scope of theembodiments of the present invention.

1-42. (canceled)
 43. A method, comprising: obtaining, by a terminal, animage through a front-facing camera when the terminal in an unlockedstate, the terminal comprises the front-facing camera and a displayscreen, and the front-facing camera and the display screen are on a sameside of the terminal; capturing and storing, by the terminal, the imagein response to detecting the image comprises a user other than a presetuser; and sending, by the terminal, to a target device, the imagecomprising the user other than the preset user.
 44. The method of claim43, wherein the method further comprises: automatically presenting theimage comprising the user other than the preset user.
 45. The method ofclaim 43, wherein obtaining, by the terminal, the image through thefront-facing camera when the terminal in the unlocked state, comprises:automatically obtaining, by the terminal, the image through thefront-facing camera when the terminal displays an interaction interfaceof a preset application.
 46. The method of claim 43, wherein the methodfurther comprises: providing prompt information, wherein the promptinformation prompts a user to pay attention to protecting personalinformation.
 47. The method of claim 43, wherein the method furthercomprises: presenting a preset interface on the display screen inresponse to detecting the image comprises the user other than the presetuser.
 48. The method of claim 43, wherein a focus window of thefront-facing camera is focused on the user other than the preset user.49. The method of claim 43, wherein the target device comprises a serveror a device other than the terminal.
 50. A terminal, comprising: afront-facing camera; a display screen; a processor; and a non-transitorycomputer-readable medium having processor-executable instructions storedthereon, wherein the processor-executable instructions, when executed bythe processor, cause the terminal to: obtain an image through thefront-facing camera when the terminal in an unlocked state; capture andstore the image in response to detecting the image comprises a userother than a preset user; and send the image comprising the user otherthan the preset user to a target device.
 51. The terminal of claim 50,wherein the processor-executable instructions, when executed by theprocessor, further cause the terminal to: automatically present theimage comprising the user other than the preset user.
 52. The terminalof claim 50, wherein the processor-executable instructions to obtain theimage through the front-facing camera when the terminal in the unlockedstate, comprises further instructions to: automatically obtain the imagethrough the front-facing camera when the terminal displays aninteraction interface of a preset application.
 53. The terminal of claim50, wherein the processor-executable instructions, when executed by theprocessor, further cause the terminal to: provide prompt information,wherein the prompt information prompts a user to pay attention toprotecting personal information.
 54. The terminal of claim 50, whereinthe processor-executable instructions, when executed by the processor,further cause the terminal to: present a preset interface on the displayscreen in response to detecting the image comprises the user other thana preset user.
 55. The terminal of claim 50, wherein the target devicecomprises a server or a device other than the terminal.
 56. Anon-transitory computer-readable medium having processor-executableinstructions stored thereon, wherein the processor-executableinstructions, when executed, cause a terminal to: obtain an imagethrough a front-facing camera of the terminal when the terminal in anunlocked state; capture and storing the image in response to detectingthe image comprises a user other than a preset user; and send the imagecomprising the user other than the preset user to a target device. 57.The non-transitory computer-readable medium of claim 56, wherein theprocessor-executable instructions, when executed, further cause theterminal to: automatically present the image comprising the user otherthan the preset user.
 58. The non-transitory computer-readable medium ofclaim 56, wherein the processor-executable instructions to obtain, bythe terminal, the image through the front-facing camera when theterminal in an unlocked state, comprises further instructions to:automatically obtain the image through the front-facing camera when theterminal displays an interaction interface of a preset application. 59.The non-transitory computer-readable medium of claim 56, wherein theprocessor-executable instructions, when executed, further cause theterminal to: provide prompt information, wherein the prompt informationprompts a user to pay attention to protecting personal information. 60.The non-transitory computer-readable medium of claim 56, wherein theprocessor-executable instructions, when executed, further cause theterminal to: present a preset interface on a display screen of theterminal in response to detecting the image comprises the user otherthan a preset user.
 61. The non-transitory computer-readable medium ofclaim 56, wherein a focus window of the front-facing camera is focusedon the user other than the preset user.
 62. The non-transitorycomputer-readable medium of claim 57, wherein the target devicecomprising a server or a device other than the terminal.